/* 
 * File:   in_repository_entity.cpp
 * Author: jolo
 * 
 * Created on: 11. Oktober 2011, 00:22
 * Lincense: New BSD License (The BSD 2-Clause License)
 */

#include "in_repository_entity.hpp"

#include "repository.hpp"

namespace model
{

    in_repository_entity::in_repository_entity(repository* r)
    : entity(), r_(r)
    {
    }

    in_repository_entity::~in_repository_entity()
    {
    }
    
    const string in_repository_entity::to_string() const {
        stringstream s;
        s << r_->uuid() << "/" << uuid();
        return s.str();
    }
}